<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://shiro.apache.org/tags" prefix="shiro"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<%
	pageContext.setAttribute("APP_PATH", request.getContextPath());
%>

<title>导航菜单</title>
<script type="text/javascript" src="${APP_PATH }/static/js/jquery.min.js"></script>
<link type="text/css" rel="stylesheet" href="${APP_PATH }/static/css/blue/pageCommon.css" />


<script type="text/javascript">

$(function(){
	
	
});


</script>
</head>
<body>

<div id="Title_bar">
    <div id="Title_bar_Head">
        <div id="Title_Head"></div>
        <div id="Title"><!--页面标题-->
            <img border="0" width="13" height="13" src="${APP_PATH }/static/css/images/title_arrow.gif"/> 飞机票订单管理
        </div>
        <div id="Title_End"></div>
    </div>
</div>
<div>
	 <label style="font-size: 15px;">订单状态</label>
       <select style="font-size: 15px;">
       		<option value="0">待审核</option>
       		<option value="1">审核通过</option>
       		<option value="2">审核失败</option>
       		<option value="3">已出票</option>
       </select>
       <label style="font-size: 15px;">支付状态</label>
       <select style="font-size: 15px;">
	       <option value="0">未支付</option>
	       <option value="1">已支付</option>
       </select>
       <shiro:hasRole name="admin">
	       <label style="font-size: 15px;">公司编号</label>
	       <select style="font-size: 15px;">
		       <option value="0">0001</option>
		       <option value="1">0002</option>
	       </select>
       </shiro:hasRole>
       <input type="button" value="查询">
</div>
<div id="MainArea">
    <table cellspacing="0" cellpadding="0" class="TableStyle">
        <!-- 表头-->
        <thead>
            <tr align=center valign=middle id=TableTitle>
            	<td>订单编号</td>
				<td>订单状态</td>
                <td>订单金额</td>
                <td>创建时间</td>
                <td>支付状态</td>
                <td>乘机人</td>
                <td>联系手机</td>
                <td>审批人</td>
                <td>审批时间</td>
                 <td>操作</td>
            </tr>
        </thead>

		<!--显示数据列表-->
        <tbody id="TableData" class="dataContainer" datakey="processDefList">
        	<c:forEach items="${planeOrderList }" var="planeOrder">
				<tr class="TableDetail1 template">
					<td align="CENTER"><a href="javascript:void(0);">${planeOrder.orderId }</a></td>
					<td align="CENTER">
						<c:if test="${planeOrder.orderStatus == 0}">
							<label style="color: #FFD700;">待审核</label>
						</c:if>
						<c:if test="${planeOrder.orderStatus == 1}">
							<label style="color: green;">审核通过</label>
						</c:if>
						<c:if test="${planeOrder.orderStatus == 2}">
							<label style="color: red;">审核失败</label>
						</c:if>
						<c:if test="${planeOrder.orderStatus == 3}">
							<label style="color: blue;">已出票</label>
						</c:if>
					</td>
					<td align="CENTER">${planeOrder.orderPrice }</td>
					<td align="CENTER">2018-09-10</td>
					<td align="CENTER">
						<c:if test="${planeOrder.payType == 0}">
							<label style="color: red;">未支付</label>
						</c:if>
						<c:if test="${planeOrder.payType == 1}">
							<label style="color: green;">已支付</label>
						</c:if>
					</td>
					<td align="CENTER">${planeOrder.userName }</td>
					<td align="CENTER">${planeOrder.linkPhone }</td>
					<td align="CENTER">${planeOrder.operaPersonName }</td>
					<td align="CENTER">${planeOrder.operaDate }</td>
					<td align="CENTER">
						<a href="#" >改签</a>
						<a href="#" >退票</a>
					</td>
				</tr>
			</c:forEach>
        </tbody>
    </table>
    
    <!-- 其他功能超链接 -->
    <div>
    	<br/>速行企业管理业务
    </div>
</div>


</body>
</html>
